package dt.day04;

import java.util.List;

public class Person {
    private String name;
    private int date;
    private List<String> address;

    public Person(){}

    public Person(String name, int date, List<String> address) {
        this.name = name;
        this.date = date;
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDate() {
        return date;
    }

    public void setDate(int date) {
        this.date = date;
    }

    public List<String> getAddress() {
        return address;
    }

    public void setAddress(List<String> address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person" +
                "name='" + name + '\'' +
                ", date=" + date +
                ", address=" + address ;
    }
}
